//
//  BaseModel.m
//  Bettle
//
//  Created by Apple on 2017/1/3.
//  Copyright © 2017年 panhongliu. All rights reserved.
//

#import "BaseModel.h"

@implementation BaseModel
+(NSDictionary *)replacedkeyFromePropertyName{
    return @{@"ID":@"id",@"descriptions":@"description"};
}
-(id)initWithDic:(NSDictionary *)dic{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    NSLog(@"%@没找到",key);

}


@end
